home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 3: Developer Tools / Linux Cubed Series 3 - Developer Tools.iso / devel / lang / fortran / f2c-stab.9 / f2c-stab / f2c-stabs / Makefile < prev    next >
Encoding:
Makefile  |  1996-03-31  |  1.9 KB  |  53 lines

  1. ### Make file for f2c-stabs.  I hope it works...
  2. ### Read comments and README file for installation notes, etc.
  3. ### 
  4. ### Copyright (c) 1996 Harvey J. Stein <abel@netvision.net.il>, and
  5. ### eventually <hjstein@netvision.net.il>
  6. ### All Rights Reserved.
  7. ### 
  8. ### This package is covered by the GNU GPL.  You can freely use and
  9. ### distribute it as long as it stays under the GNU GPL, and as long as
  10. ### you distribute all the corresponding source code, and as long as this
  11. ### message and the above copyright notice remains.
  12.  
  13.  
  14. ### Change ELISPDIR to be the directory where to copy the .el
  15. ### files.  This directory must be on your emacs load path.
  16. ELISPDIR    = /usr/local/lib/emacs/site-lisp
  17.  
  18. ### Change BINDIR to be the directory where you want to keep the
  19. ### scripts.  For ease of use, it should be a directory on your PATH.
  20. BINDIR      = /usr/local/bin
  21.  
  22. ### Change STKDIR to be the directory where you want to keep the STk
  23. ### code.  It needs to be a directory in which STk will search for
  24. ### code.  /usr/local/lib/stk/VERSION_NUMBER is the standard location,
  25. ### so change the 3.0 below to the version number of the version of
  26. ### STk that you're using.
  27. STKDIR      = /usr/local/lib/stk/3.0
  28.  
  29. ### We hope that from here on, things will be OK...
  30. ELISP_FILES = f2c-stabs.el parcil.el
  31. BINS        = \
  32.     make-f2c-stabs        fts-f-strip-cmts    fts-f-unsplit    \
  33.     fts-f-split-decls    fts-f2si.awk        make-test-routines
  34.  
  35. STK_FILES   = \
  36.     si-lib.stk        si-fstabs-lib.stk    formout.scm
  37.  
  38. all : dot-elcs install
  39.  
  40. dot-elcs : make-elcs.el $(ELISP_FILES)
  41.     emacs -batch -q -l make-elcs.el
  42.  
  43. make-elcs.el : $(ELISP_FILES)
  44.     rm -f make-elcs.el
  45.     echo ';;; Short emacs .el file for compiling code.' >make-elcs.el
  46.     echo ';;; Automatically built by Make.' >>make-elcs.el
  47.     for x in $(ELISP_FILES) ; do echo '(byte-compile-file "'$$x'")' >>make-elcs.el ; done
  48.  
  49. install : 
  50.     cp -f f2c-stabs.el f2c-stabs.elc parcil.el parcil.elc $(ELISPDIR)
  51.     cp -f $(BINS) $(BINDIR)
  52.     cp -f $(STK_FILES) $(STKDIR)
  53.